babl-fish-reference: do some conversions in single precision float
authorØyvind Kolås <pippin@gimp.org>
Mon, 27 Aug 2018 20:57:54 +0000 (22:57 +0200)
committerØyvind Kolås <pippin@gimp.org>
Mon, 27 Aug 2018 22:37:12 +0000 (00:37 +0200)
commitfd2f96c53d93f959acd46beade710aff6c020957
tree3105fecc3976f53af38187e016b622cb312a9a7f
parentae60c4fca5c749cf556c86bf6e721f96e6639462
babl-fish-reference: do some conversions in single precision float

This permits these conversions to go through floating point instead of double
precision when non of the involved format have more than 32bit precision,
this might be determinetal to u32 but is right for u8 and u16 which we rely
most on.

We also disable the missing fast path messages, since now many references;
through internal shortcuts are faster than some long chains, perhaps some
of these reference fast paths should be split out as new categories of fishes.
babl/babl-fish-path.c
babl/babl-fish-reference.c
babl/base/type-float.c
babl/base/type-u16.c
babl/base/type-u8.c